home *** CD-ROM | disk | FTP | other *** search
/ Network Support Library / RoseWare - Network Support Library.iso / logbatch / batchm.exe / BATCHM.DOC < prev    next >
Text File  |  1992-11-27  |  7KB  |  183 lines

  1.   ******************* (c) Copyright 1992 by NORDAT GmbH **********************
  2.                                                ┌────────┐
  3. BATCHM.EXE                                     │     ▀ ▀ ▀ ▀ ▀ ▀ ▀ ▀
  4.                                                │        │
  5. NORDAT BATCH MACHINE V1.2                      │        │
  6.                                                └────────┘
  7.    Nordat GmbH                                 N O R D A T
  8.    Oststr.  11
  9. D-2000 Norderstedt
  10. Phone  49-40-526834-0
  11. Fax    49-40-526834-22
  12.  
  13.  
  14.       THIS PRODUCT IS NOT FREE. IT IS OFFERED ON A SHAREWARE BASIS.
  15.       IF YOU WANT TO USE IT AFTER EVALUATION, YOU MUST REGISTER IT.
  16.  
  17.  
  18. REVISION HISTORY
  19.  
  20. 02 Nov 1992 16:00:00  Dietmar Schlötel  wrote and released 1.00 REV 00.
  21. 20 Nov 1992 10:00:00  Dietmar Schlötel  wrote and released 1.10 REV 00.
  22.    Use different keyboard push routines, defined in .INI file
  23. 26 Nov 1992 16:55:00  Dietmar Schlötel  wrote and released 1.20 REV 00.
  24.    Make delay cycle variable, defined by .INI file
  25.    Make Netware public path variable
  26.  
  27.  
  28.      Description
  29.  
  30.      The NORDAT Batch Machine is designed for Users, especially programmers,
  31.      who work on a NOVELL network and often have to work off batches, i.g.
  32.      compiling of several modules. If you do this without a Task Switching
  33.      System (Windows or Desqview), which will by the way lower your performance,
  34.      your workstation is blocked as long as your batch is served.
  35.      Why not let a specific batch machine do this job ?
  36.      This can be a powerful station with huge memory, fast processor etc.
  37.      and your workstation has not necessarily to be so powerful ( Does editing
  38.      really need a 486-66 ? :-) .
  39.  
  40.      Programmers who come from the mainframe world will be smiling now,
  41.      cause they know the concepts !
  42.  
  43.      The Batch machine works in a network on a separate dedicated Batch server.
  44.      The concept is: The Batch machine has a directory within the network,
  45.      where it looks for orders.
  46.  
  47.      An order consists of several informations:
  48.      1. the userid, who places the order
  49.      2. the userid, under which this order will be processed
  50.      3. the users password, under which this order will be processed
  51.      4. the service which is to be done; this must be any batch file
  52.      5. the name of a logfile, where the batch processing will be logged
  53.  
  54.      The batch machine has its own userid for looking for orders.
  55.      After finding an order, it changes its user id, and so its rights and
  56.      equals to the desired user id. The batch machine serves the order and
  57.      saves the output to a log file. After processing a "done" message
  58.      will be returned to the user, who desired the processing.
  59.  
  60.      The user must assure, that all pathes and environment variables are
  61.      correctly set, which are used. It can be guaranteed by doing this
  62.      in the login script. An alternative is to include it in the batch file
  63.      which is to process.
  64.  
  65.  
  66.      Requirements:
  67.  
  68.      This program is tested with DOS 5.0, 4DOS 4.0 and Netware 3.11 .
  69.      But it will surely work with other DOS- or Netware- Versions.
  70.  
  71.      Future enhancements:
  72.  
  73.      This version finds it's orders in the order of DOS-FINDFIRST-cmd.
  74.      The found order is processed in the same moment it is found.
  75.      It is planned to support timed orders and to supply a Batch Submit
  76.      Program, which will make it even more easier to place an order.
  77.      The submit program is necessary for encrypting the passwords in
  78.      the order for security causes. Furthermore this program will support
  79.      order processing with FIFO (first in - first out) method.
  80.  
  81.  
  82.      Files:
  83.      BATCHM.EXE The Batch Machine
  84.      BATCHP.EXE The Batch Machine's Keyboard Push Routine
  85.      BATCHM.INI It's init script
  86.      BATCHM.ORX A sample script for an order
  87.      BATCHM.DOC This document
  88.      BATCHM.DOK This document in German
  89.      BATCHM.REG Registration
  90.      BATCHM.BBS BBS short description
  91.      BATCHM.CIS CIS short description
  92.      BATCHM.MBX MBX short description german
  93.  
  94. /*-------------------------------------------------------------------*/
  95. /*   Sample Init Script:                                             */
  96. /*-------------------------------------------------------------------*/
  97.  
  98. ; Do not change these Entries, they are system intern
  99.  
  100. [NCAPS Generics]
  101. CapsSys      = f:\batch\ncaps.sys
  102. FileLockWait = 100
  103. Windows      = No
  104.  
  105. ;  Batch Machine program's init script section follows :
  106.  
  107. [Batch Machine]
  108. ;
  109. ; Username of Batch Machine
  110. User        = batch
  111. ;
  112. ; Path where Orders (*.ord) are expected
  113. FilePath    = f:\batch
  114. ;
  115. ; Switch if a Send "Processing done" is requirede
  116. Reply       = On
  117. ;
  118. ; Set Cycle for waiting after no order is found !
  119. Cycle       = 10
  120. ;
  121. ; Set the Command line for keyboard push program.
  122. ; The method of key pushing is necessary to pass the password
  123. ; to network login process.
  124. ; The following line is designed for using 4DOS (with "kstack" loaded).
  125. ;Push        = "keystack \"%s\" 13 \0xd"
  126. ; There are several other utilities pushing key sequences into the keyboard
  127. ; buffer. Place your favorite key pushing command here and
  128. ; apply it's syntax.
  129. ; For your convenience we supply the Batch Machine with BATCHP.EXE
  130. Push        = "BATCHP %s\0xd"
  131. ; Note: This string must be put in quotes !!! The internal quotes (if needed by
  132. ;       your key pusher ) have to be escaped by a backslash !!!!
  133. ;       Close the string with \0xd !!
  134. ;
  135. ; Set the Path to Netware Public Programs (as SEND, LOGOUT etc.)
  136. Public      = F:\public
  137. ;
  138. ;
  139. <End of File>
  140.  
  141. /*-------------------------------------------------------------------*/
  142. /*  Sample Order File                                                */
  143. /*-------------------------------------------------------------------*/
  144.  
  145. ; Adress the Batch Machine
  146. [Batch Machine]
  147. ; User which placed the order and expects a reply
  148. SourceUser  = ds
  149. ; User Id, which shall process the Batch file
  150. WorkUser    = Compiler
  151. ; Password of work user
  152. Password    = kuckuck
  153. ; Batch file (.bat) which shall be processed
  154. BatchName   = f:\ds\compall
  155. ; File where the log shall be produced ( by DOS Piping)
  156. LogFile     = f:\ds\compall.log
  157. ;
  158. <End of File>
  159.  
  160. /*-------------------------------------------------------------------*/
  161. /*  Installation Hints                                               */
  162. /*-------------------------------------------------------------------*/
  163.  
  164.  
  165. 1.      Create a Netware User for Batch Machine ( i.g. BATCH)
  166.         Give User a Home Directory , which can serve as order directory
  167.  
  168. 2.      Grant Rights in Batch Home Directory to every group (or user),
  169.         which can use the Batch machine.  (i.g. group EVERYONE)
  170.  
  171. 3.      Place BATCHM.EXE and BATCHM.INI in the Netware Public directory
  172.         or in another directory the BATCH user has access to (i.g.BATCH)
  173.  
  174. 4.      Login a workstation as user BATCH and start BATCHM.
  175.         ( This can be done automatically in your autoexec.bat )
  176.  
  177. 5.      Users can now place orders, which can be built easily with any
  178.         Text Editor and then copied to the Batch Machine's "FilePath".
  179.         (Sample Order: BATCHM.ORX)
  180.         Orders must have the extension .ORD !
  181.  
  182. 6.      Remember to register after evaluation !
  183.